/*
  学习目标：
    👎any的作用: 告诉TS不检查类型
    语法 let xxx : any = 任意的值;
*/

// 函数不指定参数的类型，会得到隐式any
function add(a, b) {
  return a + b;
}

type MyObj = {
  name: string;
  age: number;
};

let obj: any = {
  name: "zs",
  age: 18,
  gender: "男",
};

type MyList = string[];
let list: any = ["1", "2"];

list = [1, 2, true, false];
